package com.xgk.boot.module.core.controller.admin.customer.vo;

import com.xgk.boot.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 客户分页列表 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class CustomerReqVO extends PageParam {

    @Schema(description = "客户名称", example = "1024")
    @Size(max = 300, message = "客户名称长度不超过300")
    private String likeName;

    @Schema(description = "客户code", example = "C1000")
    @Size(max = 100, message = "客户code长度不超过100")
    private String likeCode;

    @Schema(description = "状态", example = "xx")
    private Integer status;

    @Schema(description = "开始创建时间", example = "2023-10-10T12:00:00")
    private LocalDateTime beginCreateTime;

    @Schema(description = "结束创建时间", example = "2023-10-10T12:00:00")
    private LocalDateTime endCreateTime;

}
